#ifndef SYSTEM_TRAY_ICON_HPP_
#define SYSTEM_TRAY_ICON_HPP_

#include <windows.h>

enum {
  WM_SYSTEMTRAY = WM_USER + 1
};

class SystemTrayIcon
{
private:
  NOTIFYICONDATA m_iconData;

public:
  SystemTrayIcon(HWND window, int iconId);

  bool Create(HICON icon, const TCHAR* tooltip);
  bool ChangeIcon(HICON icon);
  bool Destroy();
};

#endif